﻿using System;
using System.Diagnostics;
using System.Security.Cryptography;
using System.Text;

var buf = Encoding.UTF8.GetBytes("UaopQ8P06F0HWBNlkxtNMK99cupiWo52clientIdssrv724Prfhzzkm3Zdata{\"cityName\":\"北京市\"}shopId20000000000001297timestamp1623809969");

if (args.Length > 0)
    buf = Encoding.UTF8.GetBytes(args[0]);

var st = Stopwatch.StartNew();
var outPut = MD5.HashData(buf);
var strMd5 = BitConverter.ToString(outPut);
st.Stop();

Console.WriteLine($"md5: {strMd5} {st.Elapsed}");
Console.ReadKey();

